package com.gjw.blog.common.exception;

/**
 * @author gjw19
 * @since 2019/11/6.
 */
public class HwException extends RuntimeException {

    private static final long serialVersionUID = 4686947773836001464L;
    private int code;

    public HwException() {

    }

    public HwException(int code) {
        this.code = code;
    }

    public HwException(String message) {
        super(message);
    }

    public HwException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
